plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
↳ QTRS
↳ Overlay + Local Confluence
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
FAC(s(x), y) → FAC(p(s(x)), times(s(x), y))
PLUS(s(x), y) → PLUS(p(s(x)), y)
PLUS(s(x), y) → P(s(x))
P(s(s(x))) → P(s(x))
TIMES(s(x), y) → TIMES(p(s(x)), y)
TIMES(s(x), y) → P(s(x))
FACTORIAL(x) → FAC(x, s(0))
FAC(s(x), y) → P(s(x))
FAC(s(x), y) → TIMES(s(x), y)
TIMES(s(x), y) → PLUS(y, times(p(s(x)), y))
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
FAC(s(x), y) → FAC(p(s(x)), times(s(x), y))
PLUS(s(x), y) → PLUS(p(s(x)), y)
PLUS(s(x), y) → P(s(x))
P(s(s(x))) → P(s(x))
TIMES(s(x), y) → TIMES(p(s(x)), y)
TIMES(s(x), y) → P(s(x))
FACTORIAL(x) → FAC(x, s(0))
FAC(s(x), y) → P(s(x))
FAC(s(x), y) → TIMES(s(x), y)
TIMES(s(x), y) → PLUS(y, times(p(s(x)), y))
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
PLUS(s(x), y) → PLUS(p(s(x)), y)
FAC(s(x), y) → FAC(p(s(x)), times(s(x), y))
PLUS(s(x), y) → P(s(x))
P(s(s(x))) → P(s(x))
TIMES(s(x), y) → TIMES(p(s(x)), y)
TIMES(s(x), y) → P(s(x))
FAC(s(x), y) → P(s(x))
FACTORIAL(x) → FAC(x, s(0))
FAC(s(x), y) → TIMES(s(x), y)
TIMES(s(x), y) → PLUS(y, times(p(s(x)), y))
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
P(s(s(x))) → P(s(x))
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P(s(s(x))) → P(s(x))
[P1, s1]
P1: [1]
s1: [1]
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
PLUS(s(x), y) → PLUS(p(s(x)), y)
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
TIMES(s(x), y) → TIMES(p(s(x)), y)
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
FAC(s(x), y) → FAC(p(s(x)), times(s(x), y))
plus(0, x) → x
plus(s(x), y) → s(plus(p(s(x)), y))
times(0, y) → 0
times(s(x), y) → plus(y, times(p(s(x)), y))
p(s(0)) → 0
p(s(s(x))) → s(p(s(x)))
fac(0, x) → x
fac(s(x), y) → fac(p(s(x)), times(s(x), y))
factorial(x) → fac(x, s(0))
plus(0, x0)
plus(s(x0), x1)
times(0, x0)
times(s(x0), x1)
p(s(0))
p(s(s(x0)))
fac(0, x0)
fac(s(x0), x1)
factorial(x0)